package com.youko.backstage.mapper.commodity;

import com.youko.backstage.bean.commodity.CommoditySpecValue;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: youko
 * @classname: CommoditySpecValueMapper
 * @Description: some desc
 * @date: 2022/7/5 14:56
 */
@Mapper
@Repository
public interface CommoditySpecValueMapper {
    /**
     * 新增规格具体值
     * @param commoditySpecValue
     */
    void insertSpecValue(CommoditySpecValue commoditySpecValue);

    /**
     * 根据SpecId查询
     */
    List<CommoditySpecValue> selectSpecValueBySpecId(int specId);





}
